#!/usr/bin/env ruby

class DataObject
  
  attr_accessor :name, :type, :namespace, :resource, :resource_type, :initial, :description, :parameters

  def qname
    ((!@namespace.nil? and @namespace.size > 0) ? ("{"+@namespace+"}") : "")+@type
  end

end